/*
 * MockTrack.java
 *
 * Copyright (C) 2005-2008 Tommi Laukkanen
 * http://www.substanceofcode.com
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */

package com.substanceofcode.bluetooth;

import java.util.Date;

import com.substanceofcode.gps.GpsPosition;
import com.substanceofcode.tracker.model.Track;
import com.substanceofcode.tracker.view.Logger;
import com.substanceofcode.util.StringUtil;

public class MockTrack extends Track{
private GpsPosition lastPosition = null;
private final String trackData = ""
+ "-3.384551,50.86268,61.3\n"
+ "-3.384568,50.862671,60.3\n"
+ "-3.384571,50.862678,60.0\n"
+ "-3.384565,50.862681,59.4\n"
+ "-3.384573,50.862701,57.6\n"
+ "-3.384605,50.862683,59.6\n"
+ "-3.384606,50.862655,58.8\n"
+ "-3.384581,50.862656,58.7\n"
+ "-3.384578,50.862668,57.0\n"
+ "-3.384545,50.86269,56.1\n"
+ "-3.384535,50.862691,56.1\n"
+ "-3.384553,50.86266,54.4\n"
+ "-3.384554,50.862671,55.6\n"
+ "-3.38455,50.862691,56.5\n"
+ "-3.384548,50.8627,57.1\n"
+ "-3.384554,50.862698,57.5\n"
+ "-3.384546,50.862698,57.1\n"
+ "-3.384551,50.862691,58.3\n"
+ "-3.38455,50.862701,59.2\n"
+ "-3.384545,50.862706,59.4\n"
+ "-3.384513,50.862671,57.2\n"
+ "-3.384484,50.8627,56.8\n"
+ "-3.38446,50.862698,55.1\n"
+ "-3.384436,50.862743,55.7\n"
+ "-3.384443,50.862758,56.2\n"
+ "-3.384475,50.862736,56.1\n"
+ "-3.384483,50.862726,56.1\n"
+ "-3.384508,50.862705,55.3\n"
+ "-3.38451,50.862683,55.3\n"
+ "-3.384515,50.862678,54.1\n"
+ "-3.384471,50.862688,54.9\n"
+ "-3.384463,50.862695,54.5\n"
+ "-3.38445,50.862696,53.6\n"
+ "-3.384456,50.862691,54.7\n"
+ "-3.384461,50.862668,51.6\n"
+ "-3.384465,50.862648,52.9\n"
+ "-3.384466,50.862645,53.2\n"
+ "-3.384441,50.862656,53.9\n"
+ "-3.384406,50.862655,54.0\n"
+ "-3.384356,50.862658,54.0\n"
+ "-3.384305,50.862658,54.1\n"
+ "-3.384255,50.862655,55.9\n"
+ "-3.384248,50.862655,55.6\n"
+ "-3.384208,50.862666,56.2\n"
+ "-3.384155,50.862636,57.3\n"
+ "-3.384143,50.86255,58.1\n"
+ "-3.384183,50.86244,60.2\n"
+ "-3.384225,50.86228,63.3\n"
+ "-3.384268,50.862093,63.5\n"
+ "-3.38436,50.861756,65.8\n"
+ "-3.38442,50.861548,65.2\n"
+ "-3.384486,50.861335,67.2\n"
+ "-3.384535,50.861188,67.6\n"
+ "-3.384543,50.861135,67.3\n"
+ "-3.384515,50.861138,67.2\n"
+ "-3.384483,50.861133,68.4\n"
+ "-3.384451,50.861125,66.2\n"
+ "-3.384286,50.86111,64.7\n"
+ "-3.38417,50.86118,63.2\n"
+ "-3.38414,50.86134,62.2\n"
+ "-3.384108,50.861556,61.0\n"
+ "-3.384053,50.861815,60.0\n"
+ "-3.383983,50.862121,60.1\n"
+ "-3.38389,50.862451,59.3\n"
+ "-3.383783,50.862811,58.7\n"
+ "-3.38368,50.863203,57.9\n"
+ "-3.383595,50.863613,59.0\n"
+ "-3.383555,50.86382,59.6\n"
+ "-3.383436,50.864483,61.5\n"
+ "-3.383296,50.865225,61.5\n"
+ "-3.383236,50.86575,62.5\n"
+ "-3.383153,50.866263,61.8\n"
+ "-3.383056,50.866783,62.1\n"
+ "-3.382975,50.867308,60.1\n"
+ "-3.382896,50.867841,58.6\n"
+ "-3.382826,50.868376,57.9\n"
+ "-3.382776,50.868905,54.9\n"
+ "-3.38269,50.869443,55.6\n"
+ "-3.382613,50.869976,57.0\n"
+ "-3.382495,50.870775,56.2\n"
+ "-3.382411,50.871306,56.3\n"
+ "-3.382333,50.87184,56.2\n"
+ "-3.38226,50.872386,56.8\n"
+ "-3.382108,50.87321,56.0\n"
+ "-3.381996,50.873768,55.9\n"
+ "-3.381896,50.874323,55.9\n"
+ "-3.381803,50.874876,55.8\n"
+ "-3.3817,50.875425,53.5\n"
+ "-3.381566,50.87598,52.7\n"
+ "-3.381448,50.876536,52.9\n"
+ "-3.381341,50.877091,54.1\n"
+ "-3.381218,50.87765,55.1\n"
+ "-3.381008,50.878516,54.6\n"
+ "-3.380893,50.879111,56.3\n"
+ "-3.380775,50.8797,57.8\n"
+ "-3.380685,50.880278,61.3\n"
+ "-3.380585,50.880881,62.7\n"
+ "-3.380483,50.881455,65.9\n"
+ "-3.380365,50.882023,68.0\n"
+ "-3.380181,50.882881,71.8\n"
+ "-3.38003,50.883463,72.4\n"
+ "-3.379893,50.884043,74.3\n"
+ "-3.379755,50.884615,76.3\n"
+ "-3.379571,50.88519,75.8\n"
+ "-3.379386,50.885751,75.2\n"
+ "-3.379203,50.886305,76.0\n"
+ "-3.379035,50.886855,77.0\n"
+ "-3.378871,50.887386,80.0\n"
+ "-3.378591,50.888198,82.7\n"
+ "-3.378418,50.888728,83.6\n"
+ "-3.378208,50.889228,84.2\n"
+ "-3.377966,50.889713,86.0\n"
+ "-3.37773,50.890211,86.4\n"
+ "-3.377461,50.890706,84.6\n"
+ "-3.377181,50.891193,83.3\n"
+ "-3.376778,50.891923,84.0\n"
+ "-3.37649,50.892413,84.7\n"
+ "-3.376205,50.892903,84.4\n"
+ "-3.375913,50.893386,84.8\n"
+ "-3.375616,50.89387,84.7\n"
+ "-3.37534,50.894341,83.7\n"
+ "-3.375053,50.894793,83.0\n"
+ "-3.374776,50.89523,82.3\n"
+ "-3.374503,50.895656,81.4\n"
+ "-3.374218,50.896081,80.3\n"
+ "-3.373938,50.89651,79.1\n"
+ "-3.373653,50.89694,77.7\n"
+ "-3.37337,50.897363,76.2\n"
+ "-3.37309,50.897781,74.7\n"
+ "-3.372671,50.898405,72.6\n"
+ "-3.37239,50.898823,71.6\n"
+ "-3.372106,50.89924,70.6\n"
+ "-3.371826,50.89966,69.7\n"
+ "-3.371548,50.900081,68.8\n"
+ "-3.371273,50.900498,68.1\n"
+ "-3.370991,50.900918,67.6\n"
+ "-3.37072,50.901338,67.6\n"
+ "-3.370306,50.901968,68.1\n"
+ "-3.370028,50.902385,68.7\n"
+ "-3.369748,50.902801,68.9\n"
+ "-3.369481,50.903225,68.8\n"
+ "-3.369223,50.90365,68.9\n"
+ "-3.36895,50.904071,68.9\n"
+ "-3.368666,50.90449,69.0\n"
+ "-3.368378,50.904906,69.3\n"
+ "-3.368091,50.905326,69.2\n"
+ "-3.3678,50.905743,69.4\n"
+ "-3.367208,50.906573,70.5\n"
+ "-3.36691,50.906988,70.6\n"
+ "-3.366606,50.907403,70.6\n"
+ "-3.366303,50.907818,71.6\n"
+ "-3.365998,50.90823,72.2\n"
+ "-3.365671,50.908636,72.2\n"
+ "-3.365348,50.909041,73.0\n"
+ "-3.365021,50.909445,73.9\n"
+ "-3.364683,50.909846,74.4\n"
+ "-3.364338,50.910236,74.5\n"
+ "-3.363806,50.910826,74.4\n"
+ "-3.363436,50.911226,74.4\n"
+ "-3.363051,50.91163,75.0\n"
+ "-3.362638,50.912038,74.9\n"
+ "-3.362223,50.912455,75.2\n"
+ "-3.361806,50.912881,75.5\n"
+ "-3.361373,50.913316,75.1\n"
+ "-3.360723,50.91395,75.2\n"
+ "-3.360286,50.914361,75.3\n"
+ "-3.35984,50.914775,75.5\n"
+ "-3.359378,50.915193,75.6\n"
+ "-3.358896,50.915625,75.8\n"
+ "-3.358381,50.91606,76.2\n"
+ "-3.357836,50.916498,76.3\n"
+ "-3.357301,50.916936,76.5\n"
+ "-3.356768,50.917375,76.1\n"
+ "-3.356231,50.917805,76.0\n"
+ "-3.355415,50.91845,76.2\n"
+ "-3.354858,50.918878,76.3\n"
+ "-3.35428,50.919311,76.4\n"
+ "-3.353676,50.91975,76.5\n"
+ "-3.353055,50.920201,76.6\n"
+ "-3.352118,50.920861,77.2\n"
+ "-3.351496,50.921291,77.1\n"
+ "-3.350868,50.921711,77.2\n"
+ "-3.350221,50.922128,77.8\n"
+ "-3.349565,50.922541,78.5\n"
+ "-3.348571,50.923153,79.6\n"
+ "-3.347905,50.923566,79.9\n"
+ "-3.347236,50.92398,80.8\n"
+ "-3.346573,50.924375,81.5\n"
+ "-3.345906,50.92475,82.8\n"
+ "-3.345234,50.925126,83.3\n"
+ "-3.344556,50.925501,84.0\n"
+ "-3.34387,50.92587,84.5\n"
+ "-3.343169,50.92623,85.1\n"
+ "-3.342466,50.926585,85.3\n"
+ "-3.341406,50.927108,86.0\n"
+ "-3.340691,50.927451,87.2\n"
+ "-3.33997,50.92779,88.6\n"
+ "-3.339241,50.928123,90.2\n"
+ "-3.338513,50.928453,92.0\n"
+ "-3.337401,50.92894,94.4\n"
+ "-3.336656,50.92926,96.2\n"
+ "-3.335905,50.929573,98.2\n"
+ "-3.335148,50.929881,100.1\n"
+ "-3.334396,50.930185,101.9\n"
+ "-3.33367,50.930468,103.4\n"
+ "-3.332953,50.930741,104.9\n"
+ "-3.332238,50.931008,106.4\n"
+ "-3.331518,50.93127,107.9\n"
+ "-3.330815,50.93152,109.3\n"
+ "-3.330125,50.931756,110.6\n"
+ "-3.329425,50.931995,111.7\n"
+ "-3.329073,50.932115,112.3\n"
+ "-3.327703,50.932565,114.5\n"
+ "-3.327058,50.932771,115.3\n"
+ "-3.326426,50.932968,116.2\n"
+ "-3.325795,50.933163,117.1\n"
+ "-3.325158,50.933355,117.8\n"
+ "-3.324203,50.933631,118.5\n"
+ "-3.323561,50.933808,118.9\n"
+ "-3.322921,50.93398,119.4\n"
+ "-3.322283,50.934156,120.5\n"
+ "-3.321638,50.934328,120.9\n"
+ "-3.32099,50.934495,120.6\n"
+ "-3.320013,50.934736,120.8\n"
+ "-3.319363,50.934895,121.0\n"
+ "-3.318708,50.935051,121.3\n"
+ "-3.318051,50.935203,121.5\n"
+ "-3.317393,50.935355,121.8\n"
+ "-3.316745,50.935498,122.4\n"
+ "-3.316119,50.935633,123.2\n"
+ "-3.315201,50.935818,124.3\n"
+ "-3.31459,50.935943,125.6\n"
+ "-3.313976,50.936063,126.9\n"
+ "-3.313368,50.936188,127.9\n"
+ "-3.312445,50.936353,130.3\n"
+ "-3.311835,50.93647,131.6\n"
+ "-3.311215,50.936585,133.1\n"
+ "-3.310578,50.936698,134.7\n"
+ "-3.309926,50.936811,135.9\n"
+ "-3.309261,50.936925,137.2\n"
+ "-3.30825,50.937098,139.0\n"
+ "-3.307568,50.937213,140.0\n"
+ "-3.306865,50.937328,141.2\n"
+ "-3.306161,50.937445,142.4\n"
+ "-3.305461,50.937565,143.4\n"
+ "-3.304765,50.937685,144.3\n"
+ "-3.303741,50.937851,145.4\n"
+ "-3.303071,50.937961,145.5\n"
+ "-3.302428,50.938081,146.1\n"
+ "-3.301801,50.938211,146.3\n"
+ "-3.30118,50.938346,146.2\n"
+ "-3.30056,50.93849,146.1\n"
+ "-3.299933,50.938641,145.9\n"
+ "-3.29929,50.9388,146.2\n"
+ "-3.298301,50.939056,145.7\n"
+ "-3.297638,50.939241,144.3\n"
+ "-3.296988,50.939428,143.0\n"
+ "-3.29635,50.939625,141.6\n"
+ "-3.295705,50.939823,140.5\n"
+ "-3.294721,50.940145,138.7\n"
+ "-3.294066,50.940375,137.4\n"
+ "-3.293415,50.94061,135.8\n"
+ "-3.292771,50.94085,134.0\n"
+ "-3.29182,50.941218,132.2\n"
+ "-3.291206,50.941468,130.6\n"
+ "-3.290605,50.941726,129.0\n"
+ "-3.29,50.94199,127.6\n"
+ "-3.289371,50.942263,126.5\n"
+ "-3.288713,50.94255,125.2\n"
+ "-3.288055,50.942855,124.0\n"
+ "-3.287385,50.943176,123.2\n"
+ "-3.286696,50.943511,122.6\n"
+ "-3.286003,50.943846,122.5\n"
+ "-3.285314,50.944178,122.6\n"
+ "-3.28462,50.944513,123.3\n"
+ "-3.283535,50.94504,124.8\n"
+ "-3.282793,50.945396,125.1\n"
+ "-3.282036,50.945758,126.3\n"
+ "-3.280893,50.946295,128.2\n"
+ "-3.280133,50.946653,131.3\n"
+ "-3.279373,50.947011,132.5\n"
+ "-3.278615,50.947356,133.9\n"
+ "-3.277861,50.947698,135.6\n"
+ "-3.277133,50.948021,138.0\n"
+ "-3.276426,50.948328,139.9\n"
+ "-3.275728,50.948623,141.6\n"
+ "-3.274705,50.94905,143.4\n"
+ "-3.274008,50.949328,144.7\n"
+ "-3.273291,50.94961,145.6\n"
+ "-3.272558,50.949895,146.4\n"
+ "-3.271833,50.95017,147.1\n"
+ "-3.270745,50.95057,147.8\n"
+ "-3.270008,50.950833,148.1\n"
+ "-3.26926,50.9511,147.9\n"
+ "-3.268513,50.951361,147.8\n"
+ "-3.267763,50.951618,147.5\n"
+ "-3.267006,50.951873,147.3\n"
+ "-3.266246,50.952121,146.8\n"
+ "-3.265481,50.952365,145.9\n"
+ "-3.264713,50.952605,144.9\n"
+ "-3.263941,50.952841,144.0\n"
+ "-3.262783,50.953193,142.2\n"
+ "-3.262005,50.95342,141.0\n"
+ "-3.261223,50.953641,139.9\n"
+ "-3.260445,50.953861,139.2\n"
+ "-3.25966,50.954078,138.0\n"
+ "-3.258476,50.954391,136.4\n"
+ "-3.257683,50.954586,135.3\n"
+ "-3.256886,50.954783,134.3\n"
+ "-3.256086,50.954973,133.2\n"
+ "-3.255291,50.955166,132.6\n"
+ "-3.254491,50.955353,131.9\n"
+ "-3.253688,50.955535,131.0\n"
+ "-3.252475,50.9558,129.5\n"
+ "-3.251624,50.955976,128.4\n"
+ "-3.250731,50.956156,127.4\n"
+ "-3.249835,50.956335,126.0\n"
+ "-3.248933,50.956505,125.0\n"
+ "-3.248031,50.956663,124.6\n"
+ "-3.247136,50.95683,123.2\n"
+ "-3.246233,50.957003,122.0\n"
+ "-3.245335,50.957176,120.8\n"
+ "-3.24445,50.957336,119.6\n"
+ "-3.24274,50.95764,115.2\n"
+ "-3.241873,50.957791,114.3\n"
+ "-3.241011,50.957948,113.5\n"
+ "-3.240151,50.958105,112.7\n"
+ "-3.239288,50.958256,112.0\n"
+ "-3.238423,50.958406,111.3\n"
+ "-3.237125,50.958626,110.0\n"
+ "-3.23626,50.958776,109.3\n"
+ "-3.235396,50.958923,108.6\n"
+ "-3.234535,50.95907,107.6\n"
+ "-3.233675,50.959221,106.5\n"
+ "-3.232815,50.95938,106.0\n"
+ "-3.231526,50.95962,105.8\n"
+ "-3.230673,50.959786,105.8\n"
+ "-3.22982,50.95996,106.0\n"
+ "-3.228958,50.960145,106.2\n"
+ "-3.227646,50.960445,106.8\n"
+ "-3.226788,50.960651,107.6\n"
+ "-3.225953,50.960856,108.4\n"
+ "-3.225121,50.961065,108.8\n"
+ "-3.224293,50.961283,108.8\n"
+ "-3.223471,50.961513,108.7\n"
+ "-3.222245,50.961868,108.2\n"
+ "-3.221435,50.96211,108.0\n"
+ "-3.220628,50.962363,107.9\n"
+ "-3.219825,50.962623,107.0\n"
+ "-3.21903,50.96289,106.1\n"
+ "-3.218241,50.963166,105.0\n"
+ "-3.217075,50.963588,103.2\n"
+ "-3.216301,50.963876,101.4\n"
+ "-3.21553,50.96417,100.1\n"
+ "-3.214775,50.964473,98.7\n"
+ "-3.214023,50.964781,96.9\n"
+ "-3.213276,50.965095,95.0\n"
+ "-3.212538,50.965415,93.2\n"
+ "-3.211438,50.965906,91.2\n"
+ "-3.21071,50.96624,90.0\n"
+ "-3.209978,50.966586,88.2\n"
+ "-3.209205,50.966946,86.7\n"
+ "-3.208395,50.96731,85.8\n"
+ "-3.207596,50.967683,84.6\n"
+ "-3.206806,50.968068,83.4\n"
+ "-3.206005,50.96845,82.5\n"
+ "-3.204786,50.969003,81.0\n"
+ "-3.20401,50.969358,79.8\n"
+ "-3.203231,50.969703,79.3\n"
+ "-3.20244,50.970035,78.5\n"
+ "-3.201638,50.970363,77.5\n"
+ "-3.200401,50.97082,75.8\n"
+ "-3.199566,50.971105,74.9\n"
+ "-3.198718,50.971376,73.5\n"
+ "-3.197835,50.971641,72.6\n"
+ "-3.19692,50.971903,71.6\n"
+ "-3.195525,50.972266,70.1\n"
+ "-3.194583,50.972495,68.7\n"
+ "-3.193648,50.972711,67.4\n"
+ "-3.192721,50.972901,66.2\n"
+ "-3.191791,50.973061,65.4\n"
+ "-3.190853,50.973203,64.6\n"
+ "-3.189431,50.973388,63.9\n"
+ "-3.188485,50.973498,62.7\n"
+ "-3.187518,50.973576,62.6\n"
+ "-3.186545,50.973638,62.6\n"
+ "-3.185575,50.973695,62.6\n"
+ "-3.184123,50.973751,63.2\n"
+ "-3.183156,50.973771,63.8\n"
+ "-3.182188,50.973781,64.6\n"
+ "-3.18122,50.973775,65.2\n"
+ "-3.180253,50.973758,66.5\n"
+ "-3.179275,50.973756,67.2\n"
+ "-3.177743,50.973766,67.2\n"
+ "-3.176708,50.973781,66.8\n"
+ "-3.175651,50.97379,66.3\n"
+ "-3.174585,50.973805,65.3\n"
+ "-3.173533,50.97384,64.0\n"
+ "-3.172488,50.973888,62.7\n"
+ "-3.171455,50.973936,61.4\n"
+ "-3.17045,50.97398,60.0\n"
+ "-3.16898,50.974055,57.8\n"
+ "-3.168015,50.974111,56.7\n"
+ "-3.166576,50.974211,55.4\n"
+ "-3.165621,50.974288,54.8\n"
+ "-3.164668,50.97437,54.6\n"
+ "-3.163715,50.97446,54.3\n"
+ "-3.162298,50.974603,54.4\n"
+ "-3.161361,50.974708,54.7\n"
+ "-3.16043,50.974818,55.1\n"
+ "-3.15951,50.974936,55.8\n"
+ "-3.158603,50.975055,56.2\n"
+ "-3.157695,50.975181,57.1\n"
+ "-3.156338,50.975383,58.6\n"
+ "-3.155453,50.975528,58.8\n"
+ "-3.154575,50.97567,59.2\n"
+ "-3.153705,50.975811,59.9\n"
+ "-3.152831,50.975958,60.5\n"
+ "-3.151958,50.976106,61.2\n"
+ "-3.151086,50.976256,61.9\n"
+ "-3.149778,50.976483,62.9\n"
+ "-3.148901,50.976626,63.8\n"
+ "-3.148025,50.976775,64.7\n"
+ "-3.147146,50.976918,65.6\n"
+ "-3.146265,50.977058,66.3\n"
+ "-3.145385,50.977198,66.8\n"
+ "-3.144063,50.977403,67.5\n"
+ "-3.143178,50.977533,67.8\n"
+ "-3.142295,50.977656,68.0\n"
+ "-3.141406,50.977773,68.3\n"
+ "-3.140511,50.977873,68.5\n"
+ "-3.139616,50.977966,68.8\n"
+ "-3.138271,50.97809,69.3\n"
+ "-3.137371,50.978163,69.4\n"
+ "-3.13647,50.978231,69.5\n"
+ "-3.136016,50.978263,69.7\n"
+ "-3.134656,50.978356,69.5\n"
+ "-3.133753,50.97842,69.0\n"
+ "-3.132398,50.97851,67.7\n"
+ "-3.131495,50.978573,66.9\n"
+ "-3.130605,50.97864,66.0\n"
+ "-3.129725,50.978718,65.0\n"
+ "-3.128853,50.978806,64.1\n"
+ "-3.128003,50.978908,63.3\n"
+ "-3.126743,50.979081,62.5\n"
+ "-3.125903,50.9792,61.9\n"
+ "-3.125058,50.979331,61.0\n"
+ "-3.124225,50.979488,60.7\n"
+ "-3.123406,50.979666,60.3\n"
+ "-3.122595,50.979853,60.2\n"
+ "-3.121388,50.980156,59.3\n"
+ "-3.120596,50.98038,58.4\n"
+ "-3.119821,50.980621,56.3\n"
+ "-3.119048,50.980868,54.9\n"
+ "-3.117903,50.981255,52.9\n"
+ "-3.117151,50.981528,52.0\n"
+ "-3.116415,50.981811,50.9\n"
+ "-3.115683,50.982101,50.0\n"
+ "-3.114961,50.982403,49.3\n"
+ "-3.114253,50.982716,48.7\n"
+ "-3.113556,50.983036,48.4\n"
+ "-3.112866,50.98336,49.6\n"
+ "-3.111855,50.983861,50.4\n"
+ "-3.111185,50.984203,50.9\n"
+ "-3.110523,50.984551,51.8\n"
+ "-3.109865,50.984896,52.7\n"
+ "-3.109203,50.985241,53.3\n"
+ "-3.108178,50.985761,52.1\n"
+ "-3.107491,50.9861,51.1\n"
+ "-3.106808,50.98644,50.1\n"
+ "-3.105788,50.986951,49.0\n"
+ "-3.105116,50.987286,48.2\n"
+ "-3.104461,50.987616,47.1\n"
+ "-3.103811,50.987943,45.4\n"
+ "-3.103175,50.988261,43.6\n"
+ "-3.102531,50.988586,42.1\n"
+ "-3.101888,50.988906,41.5\n"
+ "-3.101243,50.989228,39.4\n"
+ "-3.100623,50.989558,38.8\n"
+ "-3.099991,50.989886,37.4\n"
+ "-3.099021,50.990381,36.7\n"
+ "-3.098353,50.990701,35.4\n"
+ "-3.097681,50.991025,34.4\n"
+ "-3.097351,50.991188,34.0\n"
+ "-3.096376,50.99168,32.8\n"
+ "-3.09574,50.992005,32.1\n"
+ "-3.095111,50.992321,31.5\n"
+ "-3.094455,50.992648,29.9\n"
+ "-3.093755,50.992975,28.5\n"
+ "-3.093058,50.993316,27.1\n"
+ "-3.092031,50.99383,26.5\n"
+ "-3.091355,50.99416,27.6\n"
+ "-3.090695,50.99449,27.5\n"
+ "-3.090053,50.994818,27.1\n"
+ "-3.089408,50.995148,26.3\n"
+ "-3.088755,50.995473,26.6\n"
+ "-3.088086,50.9958,27.6\n"
+ "-3.087411,50.996131,28.5\n"
+ "-3.086403,50.996633,29.6\n"
+ "-3.086061,50.99681,28.8\n"
+ "-3.085036,50.99733,28.0\n"
+ "-3.084345,50.99769,26.0\n"
+ "-3.083633,50.998053,24.4\n"
+ "-3.082933,50.998403,25.4\n"
+ "-3.081888,50.998923,26.3\n"
+ "-3.081198,50.999308,24.0\n"
+ "-3.080483,50.999676,23.4\n"
+ "-3.079788,51.00005,23.1\n"
+ "-3.07909,51.000425,22.4\n"
+ "-3.07843,51.000823,21.7\n"
+ "-3.077763,51.00122,21.4\n"
+ "-3.077125,51.001643,20.4\n"
+ "-3.076501,51.002068,20.8\n"
+ "-3.075898,51.002505,21.2\n"
+ "-3.075021,51.003185,20.3\n"
+ "-3.074738,51.003416,20.1\n"
+ "-3.073925,51.004128,18.7\n"
+ "-3.073401,51.004616,18.3\n"
+ "-3.072888,51.005131,18.2\n"
+ "-3.072125,51.005926,18.2\n"
+ "-3.071645,51.00647,17.9\n"
+ "-3.07119,51.007016,16.6\n"
+ "-3.070775,51.00758,16.6\n"
+ "-3.070363,51.008146,16.1\n"
+ "-3.069963,51.008716,15.3\n"
+ "-3.069571,51.009285,14.7\n"
+ "-3.06918,51.009851,14.3\n"
+ "-3.068583,51.010716,14.0\n"
+ "-3.06818,51.0113,14.0\n"
+ "-3.06777,51.01189,14.0\n"
+ "-3.067358,51.012485,14.1\n"
+ "-3.066753,51.013365,14.8\n"
+ "-3.066346,51.013956,15.4\n"
+ "-3.06593,51.01456,16.3\n"
+ "-3.065513,51.015166,17.3\n"
+ "-3.065088,51.01578,18.3\n"
+ "-3.064665,51.01638,19.1\n"
+ "-3.064021,51.01725,19.9\n"
+ "-3.063561,51.017833,20.3\n"
+ "-3.063063,51.01842,19.5\n"
+ "-3.06255,51.018981,18.8\n"
+ "-3.062018,51.019528,18.4\n"
+ "-3.061465,51.020066,18.2\n"
+ "-3.060873,51.020601,17.6\n"
+ "-3.060261,51.021123,16.9\n"
+ "-3.05934,51.021883,16.5\n"
+ "-3.058693,51.022386,15.7\n"
+ "-3.058023,51.022906,15.6\n"
+ "-3.057335,51.023441,15.5\n"
+ "-3.056633,51.02399,15.6\n"
+ "-3.055611,51.024786,15.9\n"
+ "-3.054956,51.025293,16.0\n"
+ "-3.0543,51.025803,16.2\n"
+ "-3.053643,51.026315,16.5\n"
+ "-3.052995,51.026823,16.8\n"
+ "-3.052355,51.027323,17.1\n"
+ "-3.05171,51.027825,17.4\n"
+ "-3.051051,51.028343,17.7\n"
+ "-3.050061,51.029113,18.1\n"
+ "-3.049423,51.029626,18.4\n"
+ "-3.048801,51.030133,18.6\n"
+ "-3.048196,51.030618,19.5\n"
+ "-3.047596,51.031086,19.4\n"
+ "-3.046711,51.03178,19.6\n"
+ "-3.04613,51.032238,19.6\n"
+ "-3.045548,51.032688,19.6\n"
+ "-3.044965,51.03314,19.9\n"
+ "-3.044383,51.033591,20.0\n"
+ "-3.043811,51.034035,20.7\n"
+ "-3.042955,51.034701,22.2\n"
+ "-3.042371,51.035136,23.3\n"
+ "-3.041795,51.035581,23.9\n"
+ "-3.041223,51.036026,24.4\n"
+ "-3.040366,51.0367,24.5\n"
+ "-3.039795,51.037148,24.9\n"
+ "-3.039223,51.037596,25.2\n"
+ "-3.038651,51.038043,25.5\n"
+ "-3.038086,51.038493,25.9\n"
+ "-3.037526,51.038946,26.3\n"
+ "-3.036708,51.039636,26.9\n"
+ "-3.036188,51.040096,27.5\n"
+ "-3.035691,51.040536,28.0\n"
+ "-3.035216,51.040965,28.6\n"
+ "-3.034768,51.041391,29.2\n"
+ "-3.034331,51.041813,29.6\n"
+ "-3.033693,51.042435,30.0\n"
+ "-3.033286,51.04285,30.2\n"
+ "-3.03289,51.04327,30.4\n"
+ "-3.0325,51.043698,31.0\n"
+ "-3.032125,51.044131,31.1\n"
+ "-3.031753,51.044565,31.8\n"
+ "-3.031203,51.045218,33.1\n"
+ "-3.030843,51.045658,34.0\n"
+ "-3.030496,51.046101,35.0\n"
+ "-3.030155,51.04655,35.8\n"
+ "-3.029648,51.047231,37.0\n"
+ "-3.029318,51.047693,37.9\n"
+ "-3.028995,51.048151,39.0\n"
+ "-3.028676,51.048613,40.0\n"
+ "-3.028358,51.049075,41.0\n"
+ "-3.028038,51.049536,42.3\n"
+ "-3.027551,51.050241,43.5\n"
+ "-3.027228,51.05072,44.0\n"
+ "-3.026901,51.051205,44.3\n"
+ "-3.026575,51.051693,44.6\n"
+ "-3.026256,51.052175,45.8\n"
+ "-3.025943,51.052661,45.9\n"
+ "-3.025471,51.053396,46.7\n"
+ "-3.025163,51.053888,46.7\n"
+ "-3.024856,51.054381,46.6\n"
+ "-3.024551,51.054875,46.5\n"
+ "-3.024103,51.055616,46.2\n"
+ "-3.023806,51.056111,45.7\n"
+ "-3.023515,51.056606,45.3\n"
+ "-3.023225,51.057101,44.6\n"
+ "-3.022936,51.057598,43.6\n"
+ "-3.02265,51.058093,42.8\n"
+ "-3.02236,51.058588,42.3\n"
+ "-3.021926,51.059331,41.9\n"
+ "-3.021636,51.059826,41.7\n"
+ "-3.021346,51.060321,41.8\n"
+ "-3.02106,51.060818,42.0\n"
+ "-3.02077,51.061311,42.2\n"
+ "-3.02048,51.061806,42.5\n"
+ "-3.02019,51.062303,42.8\n"
+ "-3.019893,51.062796,43.2\n"
+ "-3.019596,51.06329,43.8\n"
+ "-3.019146,51.064026,44.6\n"
+ "-3.018836,51.064523,45.2\n"
+ "-3.01852,51.065028,45.5\n"
+ "-3.01804,51.065785,45.8\n"
+ "-3.017715,51.066288,45.8\n"
+ "-3.017386,51.06679,45.8\n"
+ "-3.01705,51.06729,45.6\n"
+ "-3.016711,51.067788,45.5\n"
+ "-3.016366,51.068285,45.1\n"
+ "-3.016018,51.068783,44.5\n"
+ "-3.015676,51.069273,44.1\n"
+ "-3.015173,51.069981,43.2\n"
+ "-3.014841,51.070438,42.6\n"
+ "-3.014503,51.07089,41.8\n"
+ "-3.014176,51.071331,41.0\n"
+ "-3.0137,51.07198,39.9\n"
+ "-3.013385,51.072408,39.0\n"
+ "-3.01307,51.072838,38.2\n"
+ "-3.012751,51.073268,37.3\n"
+ "-3.012265,51.073921,35.6\n"
+ "-3.011943,51.074356,34.6\n"
+ "-3.011623,51.074788,33.8\n"
+ "-3.011291,51.075226,32.8\n"
+ "-3.010805,51.075881,31.5\n"
+ "-3.010488,51.076315,30.8\n"
+ "-3.010173,51.076745,30.2\n"
+ "-3.009858,51.077173,29.7\n"
+ "-3.00955,51.077603,29.2\n"
+ "-3.00925,51.078038,28.9\n"
+ "-3.008951,51.078488,28.6\n"
+ "-3.008656,51.078948,28.3\n"
+ "-3.008225,51.079648,28.1\n"
+ "-3.007948,51.080125,28.1\n"
+ "-3.007675,51.080616,28.0\n"
+ "-3.007401,51.081111,28.8\n"
+ "-3.00702,51.081863,28.9\n"
+ "-3.006783,51.082356,29.7\n"
+ "-3.006556,51.082838,31.5\n"
+ "-3.006348,51.083325,31.5\n"
+ "-3.006141,51.083806,31.6\n"
+ "-3.005938,51.084301,32.0\n"
+ "-3.005741,51.08481,32.4\n"
+ "-3.005568,51.085326,32.2\n"
+ "-3.00541,51.085845,32.1\n"
+ "-3.005251,51.086366,31.4\n"
+ "-3.005018,51.087158,31.3\n"
+ "-3.004856,51.087688,30.9\n"
+ "-3.004683,51.088228,31.2\n"
+ "-3.004395,51.089041,31.9\n"
+ "-3.004181,51.089581,31.0\n"
+ "-3.00395,51.090113,30.3\n"
+ "-3.003713,51.090646,30.3\n"
+ "-3.003455,51.091168,30.3\n"
+ "-3.003035,51.091958,31.2\n"
+ "-3.002736,51.09249,32.2\n"
+ "-3.002396,51.09304,32.7\n"
+ "-3.002048,51.093591,33.5\n"
+ "-3.001675,51.09414,33.2\n"
+ "-3.001285,51.094686,32.5\n"
+ "-3.000866,51.095228,30.4\n"
+ "-3.000433,51.09576,28.8\n"
+ "-2.99998,51.096298,27.4\n"
+ "-2.999496,51.096855,26.3\n"
+ "-2.9987,51.097713,24.8\n"
+ "-2.99786,51.09856,23.3\n"
+ "-2.997275,51.09911,22.2\n"
+ "-2.996676,51.099655,21.5\n"
+ "-2.996058,51.100201,20.9\n"
+ "-2.995413,51.100765,20.2\n"
+ "-2.99475,51.10135,19.2\n"
+ "-2.993713,51.102248,17.5\n"
+ "-2.993031,51.102855,16.4\n"
+ "-2.992351,51.103456,15.0\n"
+ "-2.991681,51.104048,13.7\n"
+ "-2.990703,51.104921,11.8\n"
+ "-2.990053,51.1055,10.6\n"
+ "-2.989405,51.106078,9.4\n"
+ "-2.988755,51.106661,8.4\n"
+ "-2.988083,51.107256,7.4\n"
+ "-2.987391,51.10787,6.9\n"
+ "-2.986695,51.108488,7.0\n"
+ "-2.986021,51.109085,7.6\n"
+ "-2.985056,51.109945,9.3\n"
+ "-2.984433,51.110498,10.6\n"
+ "-2.98382,51.111043,11.9\n"
+ "-2.983213,51.111583,13.1\n"
+ "-2.98261,51.112118,13.9\n"
+ "-2.982011,51.112653,14.6\n"
+ "-2.98141,51.113188,15.1\n"
+ "-2.980806,51.113723,15.3\n"
+ "-2.980203,51.114261,15.2\n"
+ "-2.979296,51.11507,14.4\n"
+ "-2.978701,51.115601,13.7\n"
+ "-2.97809,51.116146,12.6\n"
+ "-2.977475,51.116696,11.3\n"
+ "-2.97657,51.117505,9.3\n"
+ "-2.975973,51.118046,8.1\n"
+ "-2.975381,51.118593,7.0\n"
+ "-2.974796,51.119141,6.2\n"
+ "-2.973936,51.119973,5.3\n"
+ "-2.973386,51.120521,4.7\n"
+ "-2.972866,51.121063,4.3\n"
+ "-2.972369,51.121603,4.0\n"
+ "-2.971906,51.122136,3.8\n"
+ "-2.97147,51.122666,3.6\n"
+ "-2.971058,51.123196,3.6\n"
+ "-2.970673,51.123731,3.7\n"
+ "-2.970151,51.124538,3.1\n"
+ "-2.969833,51.125078,3.6\n"
+ "-2.969541,51.125615,3.6\n"
+ "-2.969268,51.126158,3.1\n"
+ "-2.969043,51.126685,5.2\n"
+ "-2.968721,51.127488,5.6\n"
+ "-2.968535,51.12803,5.5\n"
+ "-2.968388,51.128588,5.1\n"
+ "-2.968261,51.129133,5.3\n"
+ "-2.96812,51.129985,2.5\n"
+ "-2.968058,51.13056,1.9\n"
+ "-2.968,51.131141,1.3\n"
+ "-2.967965,51.13176,-0.7\n"
+ "-2.967995,51.132356,1.2\n"
+ "-2.968061,51.132963,1.7\n"
+ "-2.968161,51.13356,1.9\n"
+ "-2.968275,51.134133,2.8\n"
+ "-2.968458,51.134973,2.8\n"
+ "-2.968615,51.135521,3.1\n"
+ "-2.96879,51.136063,3.6\n"
+ "-2.968985,51.136593,4.0\n"
+ "-2.969318,51.137376,4.1\n"
+ "-2.969573,51.137896,5.0\n"
+ "-2.96984,51.138403,5.3\n"
+ "-2.97013,51.138906,5.6\n"
+ "-2.970438,51.139403,6.3\n"
+ "-2.970771,51.139903,7.1\n"
+ "-2.971301,51.140648,8.7\n"
+ "-2.971691,51.141146,8.7\n"
+ "-2.972085,51.141636,8.9\n"
+ "-2.972505,51.142131,8.8\n"
+ "-2.972921,51.142621,9.2\n"
+ "-2.973348,51.143106,9.3\n"
+ "-2.97378,51.143578,10.1\n"
+ "-2.97423,51.144055,9.7\n"
+ "-2.974918,51.144765,8.3\n"
+ "-2.975371,51.145238,7.9\n"
+ "-2.97606,51.145943,8.1\n"
+ "-2.97653,51.146413,7.2\n"
+ "-2.976981,51.14688,7.7\n"
+ "-2.977433,51.147348,8.3\n"
+ "-2.977883,51.147818,8.7\n"
+ "-2.978321,51.148295,8.4\n"
+ "-2.978723,51.148781,9.0\n"
+ "-2.979098,51.149283,9.7\n"
+ "-2.979611,51.150043,9.4\n"
+ "-2.979941,51.150558,8.3\n"
+ "-2.980256,51.151091,8.3\n"
+ "-2.98051,51.151631,8.7\n"
+ "-2.980765,51.152181,7.6\n"
+ "-2.98101,51.152713,10.4\n"
+ "-2.98129,51.15354,12.6\n"
+ "-2.981413,51.154103,11.3\n"
+ "-2.981505,51.154656,11.3\n"
+ "-2.9816,51.155491,11.0\n"
+ "-2.981646,51.156048,10.4\n"
+ "-2.981693,51.15661,10.1\n"
+ "-2.981731,51.15717,10.2\n"
+ "-2.981758,51.157728,10.9\n"
+ "-2.98177,51.158295,11.7\n"
+ "-2.981778,51.159126,8.6\n"
+ "-2.981763,51.159676,6.3\n"
+ "-2.981765,51.16024,4.8\n"
+ "-2.981746,51.160796,4.4\n"
+ "-2.98173,51.161348,4.9\n"
+ "-2.981708,51.161901,5.7\n"
+ "-2.98167,51.162446,5.7\n"
+ "-2.981621,51.162983,5.6\n"
+ "-2.981566,51.163523,5.5\n"
+ "-2.981463,51.164326,5.3\n"
+ "-2.981385,51.164863,5.2\n"
+ "-2.981296,51.1654,5.0\n"
+ "-2.981153,51.166203,4.9\n"
+ "-2.981049,51.166743,5.6\n"
+ "-2.980943,51.167271,6.4\n"
+ "-2.980841,51.167773,6.2\n"
+ "-2.980711,51.168285,6.5\n"
+ "-2.98057,51.168816,6.0\n"
+ "-2.98035,51.169621,5.1\n"
+ "-2.980203,51.170155,4.9\n"
+ "-2.980045,51.170676,5.2\n"
+ "-2.97988,51.171201,5.8\n"
+ "-2.979706,51.171715,5.8\n"
+ "-2.979535,51.172208,6.1\n"
+ "-2.97936,51.172685,6.7\n"
+ "-2.979093,51.173365,7.3\n"
+ "-2.978925,51.173806,8.0\n"
+ "-2.978755,51.174251,7.4\n"
+ "-2.97859,51.174683,8.5\n"
+ "-2.978415,51.175123,7.9\n"
+ "-2.97813,51.17579,7.7\n"
+ "-2.977898,51.176265,6.6\n"
+ "-2.977656,51.176768,5.5\n"
+ "-2.977445,51.177303,5.7\n"
+ "-2.977246,51.177846,6.2\n"
+ "-2.97706,51.178388,7.0\n"
+ "-2.97686,51.178923,7.1\n"
+ "-2.976666,51.179453,8.5\n"
+ "-2.976465,51.179971,10.4\n"
+ "-2.976236,51.180483,10.5\n"
+ "-2.976026,51.181005,11.1\n"
+ "-2.97573,51.181786,13.7\n"
+ "-2.975518,51.182331,11.4\n"
+ "-2.975308,51.182856,11.6\n"
+ "-2.9751,51.18338,11.9\n"
+ "-2.974893,51.18391,11.4\n"
+ "-2.974686,51.184433,12.2\n"
+ "-2.97438,51.18524,10.9\n"
+ "-2.974163,51.185763,10.8\n"
+ "-2.97396,51.18629,11.5\n"
+ "-2.97376,51.186818,12.0\n"
+ "-2.973563,51.187331,11.8\n"
+ "-2.973375,51.18782,12.9\n"
+ "-2.97319,51.18829,13.6\n"
+ "-2.973016,51.188753,13.8\n"
+ "-2.972843,51.189198,13.1\n"
+ "-2.972678,51.189618,14.0\n"
+ "-2.972509,51.190025,14.2\n"
+ "-2.972265,51.190646,14.1\n"
+ "-2.972101,51.191078,13.7\n"
+ "-2.971933,51.191491,14.6\n"
+ "-2.971768,51.191911,13.9\n"
+ "-2.971615,51.192326,13.6\n"
+ "-2.971345,51.192945,12.3\n"
+ "-2.971183,51.193376,11.6\n"
+ "-2.971,51.193806,10.8\n"
+ "-2.970815,51.19426,8.6\n"
+ "-2.970628,51.194718,8.3\n"
+ "-2.970438,51.195203,8.2\n"
+ "-2.970233,51.195708,7.1\n"
+ "-2.97003,51.196211,6.6\n"
+ "-2.969818,51.196723,5.1\n"
+ "-2.969608,51.19722,3.8\n"
+ "-2.9692,51.198226,3.4\n"
+ "-2.969,51.198738,3.4\n"
+ "-2.968816,51.199251,4.7\n"
+ "-2.968615,51.199755,4.9\n"
+ "-2.96842,51.200261,5.6\n"
+ "-2.968221,51.20078,6.5\n"
+ "-2.967908,51.201595,7.6\n"
+ "-2.967693,51.202151,8.1\n"
+ "-2.967471,51.202713,8.0\n"
+ "-2.96725,51.203278,7.8\n"
+ "-2.967031,51.203838,7.7\n"
+ "-2.966816,51.204398,8.2\n"
+ "-2.966496,51.205241,9.7\n"
+ "-2.966275,51.205833,10.5\n"
+ "-2.966033,51.206445,10.7\n"
+ "-2.965783,51.20705,10.5\n"
+ "-2.965548,51.207638,10.6\n"
+ "-2.965323,51.208215,10.7\n"
+ "-2.965095,51.208793,10.6\n"
+ "-2.964761,51.209651,11.0\n"
+ "-2.964533,51.210213,10.9\n"
+ "-2.964299,51.210773,10.6\n"
+ "-2.964068,51.211328,11.3\n"
+ "-2.963698,51.21216,13.3\n"
+ "-2.963426,51.212713,13.8\n"
+ "-2.96315,51.213268,14.5\n"
+ "-2.962851,51.213818,14.7\n"
+ "-2.962543,51.214361,14.6\n"
+ "-2.962228,51.2149,13.9\n"
+ "-2.961735,51.215698,12.9\n"
+ "-2.961388,51.216236,12.3\n"
+ "-2.961023,51.216776,11.0\n"
+ "-2.960658,51.217303,10.4\n"
+ "-2.960288,51.217826,9.4\n"
+ "-2.959908,51.218353,8.6\n"
+ "-2.959515,51.218855,7.9\n"
+ "-2.959123,51.219346,7.3\n"
+ "-2.958741,51.219851,6.4\n"
+ "-2.958158,51.220608,6.4\n"
+ "-2.95777,51.221108,6.1\n"
+ "-2.957385,51.221606,5.7\n"
+ "-2.95681,51.222361,5.6\n"
+ "-2.956428,51.222866,5.6\n"
+ "-2.956041,51.223366,5.4\n"
+ "-2.955661,51.223871,5.6\n"
+ "-2.955278,51.224375,5.5\n"
+ "-2.954896,51.224881,5.6\n"
+ "-2.954515,51.225385,5.4\n"
+ "-2.953943,51.226141,5.4\n"
+ "-2.95356,51.226646,5.4\n"
+ "-2.953176,51.227148,5.4\n"
+ "-2.952795,51.227651,5.2\n"
+ "-2.952413,51.228156,5.1\n"
+ "-2.952031,51.228661,5.4\n"
+ "-2.951453,51.229415,6.0\n"
+ "-2.951078,51.229925,6.1\n"
+ "-2.950696,51.23043,6.1\n"
+ "-2.950323,51.23094,5.9\n"
+ "-2.94994,51.231445,6.0\n"
+ "-2.949548,51.231943,6.3\n"
+ "-2.948968,51.232696,6.3\n"
+ "-2.948581,51.233196,6.1\n"
+ "-2.948203,51.233705,6.1\n"
+ "-2.947828,51.234215,6.0\n"
+ "-2.947258,51.234973,5.8\n"
+ "-2.94687,51.235481,6.2\n"
+ "-2.946475,51.235998,6.1\n"
+ "-2.946078,51.236518,5.7\n"
+ "-2.945658,51.237043,4.9\n"
+ "-2.945231,51.237603,4.9\n"
+ "-2.944568,51.238481,4.6\n"
+ "-2.94411,51.239088,4.3\n"
+ "-2.943633,51.239685,4.5\n"
+ "-2.943145,51.24028,5.4\n"
+ "-2.94263,51.240873,5.7\n"
+ "-2.942081,51.241455,5.9\n"
+ "-2.941491,51.242016,5.9\n"
+ "-2.940865,51.242561,6.6\n"
+ "-2.940201,51.24309,8.0\n"
+ "-2.939498,51.243593,8.0\n"
+ "-2.938365,51.244303,7.8\n"
+ "-2.937196,51.244991,8.2\n"
+ "-2.93639,51.245431,8.1\n"
+ "-2.935558,51.245851,8.1\n"
+ "-2.934701,51.246255,8.0\n"
+ "-2.933826,51.24664,8.1\n"
+ "-2.932926,51.247003,8.4\n"
+ "-2.93201,51.247348,8.3\n"
+ "-2.931088,51.247686,8.9\n"
+ "-2.930158,51.248015,9.2\n"
+ "-2.929225,51.248343,9.4\n"
+ "-2.92786,51.24887,8.8\n"
+ "-2.92699,51.24926,8.6\n"
+ "-2.92616,51.249678,8.1\n"
+ "-2.925395,51.250123,7.6\n"
+ "-2.924698,51.250586,6.3\n"
+ "-2.92407,51.251063,5.6\n"
+ "-2.923198,51.251788,5.1\n"
+ "-2.922675,51.25231,6.0\n"
+ "-2.922233,51.252858,7.0\n"
+ "-2.921843,51.253405,6.7\n"
+ "-2.92151,51.253961,6.5\n"
+ "-2.92123,51.25452,5.5\n"
+ "-2.921005,51.255105,5.3\n"
+ "-2.920811,51.25571,5.1\n"
+ "-2.920631,51.256631,6.8\n"
+ "-2.920571,51.257263,4.4\n"
+ "-2.92059,51.257885,3.4\n"
+ "-2.920681,51.258511,3.3\n"
+ "-2.920835,51.259108,4.6\n"
+ "-2.92102,51.25971,5.5\n"
+ "-2.921303,51.260611,6.0\n"
+ "-2.921398,51.260915,6.2\n"
+ "-2.921681,51.261825,6.7\n"
+ "-2.92186,51.262431,6.9\n"
+ "-2.922096,51.263346,6.0\n"
+ "-2.922209,51.263961,6.1\n"
+ "-2.922281,51.264563,6.0\n"
+ "-2.922316,51.26518,6.6\n"
+ "-2.92232,51.265818,7.1\n"
+ "-2.922283,51.266478,8.3\n"
+ "-2.922206,51.26714,11.1\n"
+ "-2.922051,51.267781,12.1\n"
+ "-2.921675,51.268678,11.5\n"
+ "-2.921393,51.269276,11.2\n"
+ "-2.921091,51.26988,10.8\n"
+ "-2.920753,51.270478,10.7\n"
+ "-2.920366,51.271055,9.6\n"
+ "-2.919715,51.271878,9.0\n"
+ "-2.919236,51.272415,8.8\n"
+ "-2.918693,51.272921,8.7\n"
+ "-2.918126,51.273418,8.4\n"
+ "-2.917248,51.274166,9.6\n"
+ "-2.916615,51.274626,11.3\n"
+ "-2.916016,51.275113,11.8\n"
+ "-2.915418,51.2756,12.7\n"
+ "-2.914816,51.276088,13.0\n"
+ "-2.914208,51.276568,13.1\n"
+ "-2.913608,51.277053,13.3\n"
+ "-2.912706,51.277778,13.9\n"
+ "-2.912106,51.278263,14.2\n"
+ "-2.911501,51.27875,14.4\n"
+ "-2.910883,51.27923,14.6\n"
+ "-2.910255,51.279706,14.6\n"
+ "-2.909338,51.280426,15.0\n"
+ "-2.90873,51.280913,15.4\n"
+ "-2.908098,51.281413,15.4\n"
+ "-2.907441,51.28193,15.4\n"
+ "-2.906428,51.282736,15.8\n"
+ "-2.905751,51.283276,15.9\n"
+ "-2.905095,51.283805,15.7\n"
+ "-2.904445,51.284321,15.7\n"
+ "-2.90379,51.284841,15.8\n"
+ "-2.902815,51.285638,14.7\n"
+ "-2.9022,51.286165,14.4\n"
+ "-2.901596,51.28669,13.7\n"
+ "-2.901,51.287221,13.3\n"
+ "-2.900415,51.287755,12.5\n"
+ "-2.899858,51.288288,12.2\n"
+ "-2.89932,51.288815,11.7\n"
+ "-2.898565,51.289585,11.3\n"
+ "-2.89809,51.290085,11.1\n"
+ "-2.897621,51.290593,10.8\n"
+ "-2.897163,51.29111,10.5\n"
+ "-2.896493,51.291893,10.3\n"
+ "-2.896055,51.292415,10.2\n"
+ "-2.89563,51.292943,10.4\n"
+ "-2.895211,51.293478,10.5\n"
+ "-2.894805,51.29401,10.5\n"
+ "-2.894406,51.294543,10.4\n"
+ "-2.89402,51.295083,10.4\n"
+ "-2.893661,51.29564,10.0\n"
+ "-2.893123,51.296461,10.2\n"
+ "-2.892783,51.29702,10.0\n"
+ "-2.892441,51.29759,9.6\n"
+ "-2.892098,51.298186,9.5\n"
+ "-2.891618,51.2991,9.7\n"
+ "-2.891318,51.299685,9.8\n"
+ "-2.891026,51.300248,9.6\n"
+ "-2.890738,51.300791,9.0\n"
+ "-2.890465,51.301315,8.7\n"
+ "-2.890195,51.301831,8.2\n"
+ "-2.889791,51.302585,7.3\n"
+ "-2.889525,51.303081,6.8\n"
+ "-2.889263,51.303578,6.4\n"
+ "-2.889001,51.304076,5.8\n"
+ "-2.888738,51.304586,5.4\n"
+ "-2.888473,51.3051,5.5\n"
+ "-2.888066,51.30587,5.8\n"
+ "-2.887791,51.306393,6.1\n"
+ "-2.887525,51.306906,6.7\n"
+ "-2.887263,51.307416,7.1\n"
+ "-2.887,51.307928,8.1\n"
+ "-2.88674,51.30843,9.4\n"
+ "-2.886486,51.308926,10.5\n"
+ "-2.886093,51.309681,11.3\n"
+ "-2.88582,51.310213,12.2\n"
+ "-2.885564,51.310765,13.0\n"
+ "-2.885335,51.311335,12.8\n"
+ "-2.885073,51.312195,12.9\n"
+ "-2.884983,51.312775,15.0\n"
+ "-2.884953,51.313396,14.9\n"
+ "-2.884988,51.31401,16.8\n"
+ "-2.885086,51.314621,18.1\n"
+ "-2.885233,51.315221,19.8\n"
+ "-2.885425,51.315813,21.2\n"
+ "-2.885675,51.3164,22.3\n"
+ "-2.88615,51.31725,24.4\n"
+ "-2.886545,51.317816,25.8\n"
+ "-2.886958,51.318368,26.9\n"
+ "-2.887381,51.318918,28.7\n"
+ "-2.888035,51.319756,30.4\n"
+ "-2.888483,51.320338,31.2\n"
+ "-2.888946,51.320933,32.5\n"
+ "-2.889401,51.321516,33.6\n"
+ "-2.889843,51.322091,34.9\n"
+ "-2.890273,51.322653,35.8\n"
+ "-2.890896,51.323478,36.0\n"
+ "-2.891285,51.324043,35.1\n"
+ "-2.891638,51.324635,33.2\n"
+ "-2.891921,51.325223,32.8\n"
+ "-2.892166,51.325826,31.6\n"
+ "-2.892388,51.326448,30.4\n"
+ "-2.892566,51.327061,30.0\n"
+ "-2.892735,51.327943,28.8\n"
+ "-2.892815,51.328516,27.7\n"
+ "-2.89287,51.329063,26.7\n"
+ "-2.892941,51.329611,25.4\n"
+ "-2.893053,51.33041,23.8\n"
+ "-2.893136,51.330936,23.3\n"
+ "-2.893208,51.331458,22.4\n"
+ "-2.89328,51.331986,21.7\n"
+ "-2.893346,51.33252,20.9\n"
+ "-2.893418,51.333061,20.4\n"
+ "-2.893528,51.333886,19.4\n"
+ "-2.893605,51.33444,18.6\n"
+ "-2.893685,51.334993,17.8\n"
+ "-2.893763,51.335548,17.2\n"
+ "-2.893841,51.336101,16.7\n"
+ "-2.893921,51.336658,16.3\n"
+ "-2.89404,51.337493,15.8\n"
+ "-2.894116,51.33805,15.6\n"
+ "-2.894201,51.338613,15.5\n"
+ "-2.894285,51.339168,15.1\n"
+ "-2.894365,51.339723,14.7\n"
+ "-2.894446,51.340281,14.2\n"
+ "-2.894603,51.34114,14.8\n"
+ "-2.894703,51.341698,14.9\n"
+ "-2.894788,51.342245,14.2\n"
+ "-2.89486,51.342795,13.7\n"
+ "-2.89493,51.34335,13.5\n"
+ "-2.89499,51.343905,13.2\n"
+ "-2.895043,51.34446,12.9\n"
+ "-2.895089,51.345025,12.2\n"
+ "-2.895136,51.345855,10.7\n"
+ "-2.895161,51.346418,9.5\n"
+ "-2.895171,51.34697,8.4\n"
+ "-2.895185,51.34751,7.7\n"
+ "-2.895175,51.34804,6.0\n"
+ "-2.895151,51.34884,6.0\n"
+ "-2.895123,51.349371,4.8\n"
+ "-2.895103,51.349905,3.2\n"
+ "-2.895076,51.350433,3.2\n"
+ "-2.895028,51.350956,2.8\n"
+ "-2.894994,51.351496,3.3\n"
+ "-2.894961,51.352031,4.2\n"
+ "-2.894915,51.352561,4.4\n"
+ "-2.894826,51.353331,7.3\n"
+ "-2.894768,51.353866,8.3\n"
+ "-2.894688,51.354406,7.9\n"
+ "-2.89459,51.354933,7.7\n"
+ "-2.894483,51.355446,7.4\n"
+ "-2.894321,51.356235,8.1\n"
+ "-2.894208,51.356778,7.7\n"
+ "-2.894078,51.35733,7.8\n"
+ "-2.89386,51.35816,8.1\n"
+ "-2.893725,51.35872,8.6\n"
+ "-2.893548,51.359261,9.6\n"
+ "-2.89337,51.359818,11.0\n"
+ "-2.893185,51.360386,11.9\n"
+ "-2.893,51.36095,13.0\n"
+ "-2.892803,51.361505,13.7\n"
+ "-2.892598,51.362065,14.1\n"
+ "-2.89226,51.362925,13.4\n"
+ "-2.892033,51.36348,13.1\n"
+ "-2.89181,51.364015,15.1\n"
+ "-2.891576,51.364563,15.1\n"
+ "-2.891336,51.365113,15.6\n"
+ "-2.891101,51.365655,15.2\n"
+ "-2.890863,51.366193,16.3\n"
+ "-2.890606,51.366738,17.2\n"
+ "-2.890203,51.367548,17.3\n"
+ "-2.88991,51.368088,15.9\n"
+ "-2.889615,51.368621,14.6\n"
+ "-2.889301,51.369153,13.2\n"
+ "-2.888993,51.369676,12.1\n"
+ "-2.888666,51.3702,12.0\n"
+ "-2.888328,51.370718,11.7\n"
+ "-2.887978,51.371236,11.3\n"
+ "-2.88743,51.372011,10.6\n"
+ "-2.887031,51.37251,10.9\n"
+ "-2.886636,51.373,11.0\n"
+ "-2.886235,51.373481,10.8\n"
+ "-2.88584,51.373958,10.6\n"
+ "-2.885253,51.37465,9.6\n"
+ "-2.88483,51.375088,9.4\n"
+ "-2.884413,51.37552,9.4\n"
+ "-2.883976,51.375936,9.4\n"
+ "-2.883546,51.376353,8.9\n"
+ "-2.883108,51.376755,10.0\n"
+ "-2.882643,51.377146,8.5\n"
+ "-2.882176,51.37755,8.6\n"
+ "-2.881693,51.377946,8.9\n"
+ "-2.881215,51.378353,9.7\n"
+ "-2.88044,51.378938,8.8\n"
+ "-2.879923,51.379321,9.2\n"
+ "-2.879395,51.379706,9.2\n"
+ "-2.878836,51.380098,9.3\n"
+ "-2.878288,51.380473,10.7\n"
+ "-2.877468,51.381008,11.5\n"
+ "-2.876911,51.381355,11.6\n"
+ "-2.876331,51.381705,11.5\n"
+ "-2.875735,51.382053,11.5\n"
+ "-2.87514,51.382395,11.5\n"
+ "-2.87453,51.38273,11.6\n"
+ "-2.873898,51.383066,11.6\n"
+ "-2.87294,51.383578,11.5\n"
+ "-2.8723,51.383918,11.5\n"
+ "-2.871658,51.384255,11.4\n"
+ "-2.87103,51.384591,11.2\n"
+ "-2.870461,51.384896,11.2\n"
+ "-2.869966,51.385165,11.2\n"
+ "-2.869508,51.385415,11.1\n"
+ "-2.86907,51.385658,11.0\n"
+ "-2.868481,51.385995,10.9\n"
+ "-2.868125,51.386206,10.7\n"
+ "-2.867806,51.386401,10.6\n"
+ "-2.867361,51.386673,10.4\n"
+ "-2.86706,51.386861,10.3\n"
+ "-2.866765,51.387051,10.2\n"
+ "-2.866483,51.387235,10.0\n"
+ "-2.866215,51.387411,10.0\n"
+ "-2.865941,51.387591,9.9\n"
+ "-2.865655,51.387788,10.1\n"
+ "-2.865356,51.387991,10.2\n"
+ "-2.86493,51.388295,10.4\n"
+ "-2.864653,51.38849,10.7\n"
+ "-2.864386,51.388683,10.9\n"
+ "-2.864131,51.388873,11.0\n"
+ "-2.863886,51.389056,11.3\n"
+ "-2.863643,51.389233,11.3\n"
+ "-2.863408,51.389401,11.3\n"
+ "-2.86307,51.38967,11.1\n"
+ "-2.862856,51.389853,11.0\n"
+ "-2.862631,51.390033,10.9\n"
+ "-2.862295,51.390331,11.4\n"
+ "-2.862063,51.390541,11.2\n"
+ "-2.861806,51.390758,9.9\n"
+ "-2.861546,51.390976,9.4\n"
+ "-2.861295,51.39121,8.0\n"
+ "-2.861055,51.391431,9.2\n"
+ "-2.860678,51.391781,10.1\n"
+ "-2.860426,51.392026,10.3\n"
+ "-2.860175,51.392261,10.8\n"
+ "-2.859935,51.392505,11.2\n"
+ "-2.859713,51.392758,11.8\n"
+ "-2.859488,51.393008,12.1\n"
+ "-2.85916,51.393381,12.3\n"
+ "-2.858945,51.393613,12.0\n"
+ "-2.858756,51.393833,12.2\n"
+ "-2.8586,51.394013,11.9\n"
+ "-2.85845,51.394181,11.5\n"
+ "-2.858308,51.394365,11.2\n"
+ "-2.858165,51.394555,10.9\n"
+ "-2.857935,51.394845,10.9\n"
+ "-2.85776,51.395058,10.8\n"
+ "-2.857585,51.395303,10.8\n"
+ "-2.857388,51.395566,10.7\n"
+ "-2.857188,51.395833,10.7\n"
+ "-2.857,51.396091,10.5\n"
+ "-2.856835,51.396351,10.6\n"
+ "-2.856678,51.396601,11.0\n"
+ "-2.856446,51.396938,11.4\n"
+ "-2.8563,51.397141,11.5\n"
+ "-2.856116,51.39743,11.6\n"
+ "-2.856003,51.397613,11.6\n"
+ "-2.855896,51.397791,11.4\n"
+ "-2.85579,51.397963,10.7\n"
+ "-2.855645,51.39819,10.9\n"
+ "-2.855555,51.398316,11.5\n"
+ "-2.85549,51.398446,11.3\n"
+ "-2.855426,51.39856,11.3\n"
+ "-2.855373,51.398678,10.7\n"
+ "-2.855316,51.3988,10.5\n"
+ "-2.855258,51.39892,10.3\n"
+ "-2.855203,51.399033,10.0\n"
+ "-2.855141,51.399166,10.4\n"
+ "-2.855108,51.399235,10.7\n"
+ "-2.855081,51.39929,11.2\n"
+ "-2.855055,51.399343,11.5\n"
+ "-2.85503,51.399398,11.7\n"
+ "-2.854996,51.399485,12.2\n"
+ "-2.85498,51.399538,12.6\n"
+ "-2.85497,51.399573,12.9\n"
+ "-2.854965,51.399591,13.1\n"
+ "-2.854965,51.399598,13.5\n"
+ "-2.854961,51.399598,13.3\n"
+ "-2.854951,51.399616,13.3\n"
+ "-2.854936,51.399655,13.3\n"
+ "-2.8549,51.399703,11.9\n"
+ "-2.854878,51.399741,11.7\n"
+ "-2.85485,51.39979,11.1\n"
+ "-2.854818,51.399863,11.5\n"
+ "-2.854775,51.39994,10.8\n"
+ "-2.854743,51.400018,10.9\n"
+ "-2.854705,51.400098,10.3\n"
+ "-2.854665,51.400201,10.3\n"
+ "-2.854636,51.400261,10.3\n"
+ "-2.85461,51.400325,10.2\n"
+ "-2.854571,51.400408,10.2\n"
+ "-2.854545,51.400466,10.0\n"
+ "-2.854511,51.40052,9.5\n"
+ "-2.854488,51.400581,9.9\n"
+ "-2.854458,51.400636,9.4\n"
+ "-2.854435,51.400695,9.8\n"
+ "-2.854405,51.400755,9.4\n"
+ "-2.854385,51.400816,9.9\n"
+ "-2.854358,51.400876,9.8\n"
+ "-2.854328,51.400943,9.5\n"
+ "-2.854314,51.40097,9.3\n"
+ "-2.854301,51.400991,8.8\n"
+ "-2.85429,51.40101,8.2\n"
+ "-2.854281,51.401025,8.0\n"
+ "-2.854278,51.401041,8.4\n"
+ "-2.854271,51.401055,8.5\n"
+ "-2.854261,51.401075,8.4\n"
+ "-2.85425,51.401098,8.6\n"
+ "-2.854245,51.401116,8.5\n"
+ "-2.854243,51.401131,7.8\n"
+ "-2.854235,51.40115,6.7\n"
+ "-2.854236,51.401161,7.2\n"
+ "-2.854238,51.401175,7.5\n"
+ "-2.85423,51.401196,7.0\n"
+ "-2.854225,51.40121,6.7\n"
+ "-2.854235,51.401223,6.8\n"
+ "-2.854246,51.401231,7.3\n"
+ "-2.854245,51.401226,8.6\n"
+ "-2.85423,51.40124,9.9\n"
+ "-2.854221,51.40126,9.5\n"
+ "-2.854219,51.40129,10.5\n"
+ "-2.85421,51.401325,11.0\n"
+ "-2.854196,51.401365,11.5\n"
+ "-2.85418,51.401411,11.3\n"
+ "-2.854158,51.401466,11.1\n"
+ "-2.85414,51.401523,11.2\n"
+ "-2.854115,51.401585,10.9\n"
+ "-2.854088,51.401646,10.2\n"
+ "-2.854048,51.401735,9.2\n"
+ "-2.854021,51.40179,8.3\n"
+ "-2.853996,51.40184,7.2\n"
+ "-2.85398,51.401891,7.4\n"
+ "-2.85396,51.401941,7.0\n"
+ "-2.85394,51.401991,6.9\n"
+ "-2.853921,51.40204,6.9\n"
+ "-2.853883,51.402111,5.4\n"
+ "-2.853843,51.402201,4.6\n"
+ "-2.853818,51.402271,4.5\n"
+ "-2.85379,51.402341,4.3\n"
+ "-2.853773,51.402406,4.7\n"
+ "-2.853746,51.402471,4.2\n"
+ "-2.853718,51.40254,3.5\n"
+ "-2.8537,51.402606,4.1\n"
+ "-2.853673,51.40266,3.0\n"
+ "-2.853636,51.402753,2.6\n"
+ "-2.853608,51.402823,2.1\n"
+ "-2.853576,51.402906,1.5\n"
+ "-2.853548,51.40299,1.3\n"
+ "-2.853523,51.403076,1.2\n"
+ "-2.853533,51.403151,4.1\n"
+ "-2.85353,51.403223,5.9\n"
+ "-2.853521,51.403255,6.1\n";
    String[] pos;

    public MockTrack() {
        pos = StringUtil.split(trackData, "\n");
    }

    public int getPositionCount() {
        // TODO Auto-generated method stub
        return pos.length;
    }

    public GpsPosition getPosition(int positionNumber) throws ArrayIndexOutOfBoundsException
             {
        GpsPosition gp=null;
     try{
        if (positionNumber<pos.length){
        String[] coords = StringUtil.split(pos[positionNumber], ",");


        short course = 0;
        double altitude = Double.parseDouble(coords[2]);        
        double longitudeDouble = Double.parseDouble(coords[0]);
        double latitudeDouble = Double.parseDouble(coords[1]);
        double speed = 0;
        Date date = new Date();
        //If we have a lastPosition get the difference and the distance
        //and calculate the speed
        //Note: Calculated speed is not representative of the speed the actual track was recorded at
        //This is because there can be as much as a 2 second delay in updating the position
        //whereas in the mocktrack positions are returned almost exactly 1 sec intervals

            if (lastPosition != null){
                double distInKm =lastPosition.getDistanceFromPosition(latitudeDouble, longitudeDouble);
                //In seconds
                double timeDiff = (date.getTime() -lastPosition.date.getTime())/1000;
                //In hours
                timeDiff = timeDiff/3600;
                //Speed im km/h
                speed = distInKm/timeDiff;//mph
                course = (short)lastPosition.getCourseFromPosition(latitudeDouble, longitudeDouble);
            }
            gp = new GpsPosition(course, longitudeDouble,latitudeDouble, speed,altitude, date,null);
            lastPosition = gp;
        }
     }
     catch(ArrayIndexOutOfBoundsException aioobe){
         Logger.error("error occured, pos was"+positionNumber);
         aioobe.printStackTrace();
     }
        return gp;
    }
}